﻿using Mayando.Web.Infrastructure;
using Mayando.Web.Models;

namespace Mayando.Web.ViewModels
{
    public class PhotoThumbnailViewModel
    {
        public Photo Photo { get; private set; }
        public NavigationContextType? NavigationContextType { get; private set; }
        public string NavigationContextCriteria { get; private set; }

        public PhotoThumbnailViewModel(Photo photo)
            : this(photo, null, null)
        {
        }

        public PhotoThumbnailViewModel(Photo photo, NavigationContextType? navigationContextType, string navigationContextCriteria)
        {
            this.Photo = photo;
            this.NavigationContextType = navigationContextType;
            this.NavigationContextCriteria = navigationContextCriteria;
        }
    }
}